package com.bjpowernode.api.dto;

import com.bjpowernode.api.model.Product;

import java.io.Serializable;
import java.util.List;

/**
 * @author 麦翔盛
 * @ClassName: ProductCollection
 * @Package: com.bjpowernode.api.dto
 * @description: 首页展示三种投资类型的信息
 * @date 2022/5/14 20:15
 */
public class ProductCollection implements Serializable {
    /**
     * 新手宝列表
     */
    private List<Product> xinList;
    /**
     * 优选产品展示列表
     */
    private List<Product> youList;
    /**
     * 散户产品列表
     */
    private List<Product> sanList;

    public ProductCollection() {
    }

    public ProductCollection(List<Product> xinList, List<Product> youList, List<Product> sanList) {
        this.xinList = xinList;
        this.youList = youList;
        this.sanList = sanList;
    }

    public List<Product> getXinList() {
        return xinList;
    }

    public void setXinList(List<Product> xinList) {
        this.xinList = xinList;
    }

    public List<Product> getYouList() {
        return youList;
    }

    public void setYouList(List<Product> youList) {
        this.youList = youList;
    }

    public List<Product> getSanList() {
        return sanList;
    }

    public void setSanList(List<Product> sanList) {
        this.sanList = sanList;
    }

    @Override
    public String toString() {
        return "ProductCollection{" +
                "xinList=" + xinList +
                ", youList=" + youList +
                ", sanList=" + sanList +
                '}';
    }
}
